<extend name="./Public/Template/base.html" />

<block name="style">
<style type="text/css">
.cont table{margin:20px; border:#CCC 1px solid;}
.cont table td{padding:10px 20px; border-bottom:#CCC 1px solid;}
.cont table tr:last-child td{border:none;}
.cont table tr:first-child{background-color:#EEE;}
.cut_solid{background-color:#EEE;}
</style>
</block>

<block name="cont">
	<div class="title">初装设定
        <button class="buttonA">入库</button>
        <button class="buttonA">预览</button>
    </div>
    
    <hr size="1" align="right" class="cut_solid">
    
    <form class="form_add"><input type="hidden" name="hero_id" value="{$hero_id}">
    <table cellpadding="0" cellspacing="0">
    <tr><td>初装名称</td><td><input type="text" name="equip_name" class="textA"></td></tr>
    
    <tr><td>前期装备名称</td><td><input type="text" name="equip_top_name" placeholder="多个名称请用空格分开" class="textA"></td></tr>
    <tr><td>前期装备图标</td><td><input type="text" name="equip_top_img" placeholder="多个链接请用空格分开" class="textA"></td></tr>
    <tr><td>前期装备链接</td><td><input type="text" name="equip_top_url" placeholder="多个链接请用空格分开" class="textA"></td></tr>
    
    <tr><td>中期装备名称</td><td><input type="text" name="equip_middle_name" placeholder="多个名称请用空格分开" class="textA"></td></tr>
    <tr><td>中期装备图标</td><td><input type="text" name="equip_middle_img" placeholder="多个链接请用空格分开" class="textA"></td></tr>
    <tr><td>中期装备链接</td><td><input type="text" name="equip_middle_url" placeholder="多个链接请用空格分开" class="textA"></td></tr>
    
    <tr><td>后期装备名称</td><td><input type="text" name="equip_bottom_name" placeholder="多个名称请用空格分开" class="textA"></td></tr>
    <tr><td>后期装备图标</td><td><input type="text" name="equip_bottom_img" placeholder="多个链接请用空格分开" class="textA"></td></tr>
    <tr><td>后期装备链接</td><td><input type="text" name="equip_bottom_url" placeholder="多个链接请用空格分开" class="textA"></td></tr>
    
    <tr><td>初装简单介绍</td><td><input type="text" name="equip_desc" class="textA"></td></tr>
    <tr><td>'查看更多'链接</td><td><input type="text" name="link_more" class="textA"></td></tr>
    </table>
    </form>
</block>

<block name="script">
<script language="javascript">
function doPreview(){
	var get_data	= $(".form_add").serialize();
	window.open("setEquip?ops_type=preview&"+get_data, "_blank");
}

function doInSql(){
	var get_data	= $(".form_add").serialize();
	window.open("setEquip?ops_type=save&"+get_data, "_self");
}
</script>
</block>
